package com.yc.pre.utils;

import java.util.Objects;

/**
 *
 * @author : C.H Wong
 * @version : 1.0
 * @since : 2020/12/29 20:54
 */
public class RequestUtils {

    /**
     * 获取token信息
     *
     * @return token值
     */
    public static String getToken() {
        return Objects.requireNonNull(RequestHolder.getRequest()).getHeader("token");
    }
}
